.class Lcom/waiqin365/lightapp/kehu/ef;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/kehu/b/bj;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->d(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Lcom/waiqin365/lightapp/kehu/b/bh;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/b/bh;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bl;

    if-eqz v0, :cond_1

    iget v2, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->g:I

    if-ne v2, v4, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->e(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->e(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->getHeaderViewsCount()I

    move-result v2

    add-int/2addr v1, v2

    invoke-virtual {v0, v1}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->a(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/4 v1, 0x0

    move v2, v1

    :goto_1
    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->c(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->c(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->c(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/b/bl;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->c(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    iput v4, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->g:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->a(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->a(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->c(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->d(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Lcom/waiqin365/lightapp/kehu/b/bh;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/b/bh;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ef;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->d(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Lcom/waiqin365/lightapp/kehu/b/bh;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/bh;->notifyDataSetChanged()V

    goto/16 :goto_0

    :cond_2
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto/16 :goto_1
.end method
